package xio.leetcode.java.base;

/**
 * 链表节点
 * 公共类，leetcode 中很多题目用到
 */
public class ListNode {
    public int val;
    public ListNode next;
    public ListNode(int x){
        val = x;
        next = null;
    }
}
